package cc.mrbird.febs.business.service;

import cc.mrbird.febs.business.domain.Community;
import cc.mrbird.febs.common.domain.QueryRequest;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CommunityService extends IService<Community> {

    IPage<Community> findCommunitys(Community community, QueryRequest request);

    Community findByName(String commName);

    void createCommunity(Community community);

    void deleteCommunitys(String[] commIds) throws Exception;

    void updateCommunity(Community community) throws Exception;
}
